apiVersion: "cilium.io/v2"
kind: CiliumNetworkPolicy
metadata:
  name: "fqdn-proxy-policy.yaml"
specs:
- description: "fqdn-proxy-policy.yaml"
  egress:
  - toPorts:
    - ports:
      - port: '53'
        protocol: ANY
      rules:
        dns:
        - matchPattern: "*"
  - toFQDNs:
    - matchPattern: "vagrant-cache.ci.cilium.io"
    - matchPattern: "www.cilium.io"
  endpointSelector:
    matchLabels:
      id: app2
- egress:
  - toPorts:
    - ports:
      - port: '53'
        protocol: ANY
      rules:
        dns:
        - matchPattern: "*"
  - toFQDNs:
    - matchPattern: "cilium.io"
  endpointSelector:
    matchLabels:
      id: app3

